package com.kfm.am;

public class GeometryCalculatorTest {

    public static void main(String[] args) {
        // 创建对象
        GeometryCalculator geometryCalculator = new GeometryCalculator();
        double circleArea = geometryCalculator.calculateCircleArea(35);
        double rectangleArea = geometryCalculator.calculateRectangleArea(23, 34);
        System.out.println("圆的面积：" + circleArea);
        System.out.println("矩形的面积：" + rectangleArea);
    }
}
